<?php
namespace app\admin\model;

use think\model;
class Brand extends Model{
    public static function getBrandList($where,$post){
        $list = Brand::where($where)->paginate([
            'list_rows'=>'5',
            'query'=>$post
        ]);
        return $list;
    }

}